<?php
$text = new SWFText();
$text->setFont( new SWFFont( "FreeSerif.fdb" ) );
$text->setHeight(40); 
$text->setColor(0xff,0xff,0xff);
$text->addString("Test");

$m = new SWFMovie();

$i = $m->add($text);
$i->moveTo(0, 50);
$i->setName("blah1");

$m->setBackground(0x0, 0x0, 0x0);
$m->setDimension(300, 200);

header('Content-type: application/x-shockwave-flash');
$m->output();
?>